package com.eshop.modules.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel(description = "用户账单表查询参数", value = "YxUserBillQueryVo对象")
public class UserBillQueryVo implements Serializable {
    private static final long serialVersionUID = 1;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("添加时间")
    private Date createTime;
    @ApiModelProperty("用户账单id")
    private Long id;
    @ApiModelProperty("备注")
    private String mark;
    @ApiModelProperty("明细数字")
    private BigDecimal number;
    @ApiModelProperty("0 = 支出 1 = 获得")
    private Integer pm;
    @ApiModelProperty("账单标题")
    private String title;

    /* access modifiers changed from: protected */
    public boolean canEqual(Object other) {
        return other instanceof UserBillQueryVo;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof UserBillQueryVo)) {
            return false;
        }
        UserBillQueryVo other = (UserBillQueryVo) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Long this$id = getId();
        Long other$id = other.getId();
        if (this$id != null ? !this$id.equals(other$id) : other$id != null) {
            return false;
        }
        Integer this$pm = getPm();
        Integer other$pm = other.getPm();
        if (this$pm != null ? !this$pm.equals(other$pm) : other$pm != null) {
            return false;
        }
        String this$title = getTitle();
        String other$title = other.getTitle();
        if (this$title != null ? !this$title.equals(other$title) : other$title != null) {
            return false;
        }
        BigDecimal this$number = getNumber();
        BigDecimal other$number = other.getNumber();
        if (this$number != null ? !this$number.equals(other$number) : other$number != null) {
            return false;
        }
        String this$mark = getMark();
        String other$mark = other.getMark();
        if (this$mark != null ? !this$mark.equals(other$mark) : other$mark != null) {
            return false;
        }
        Date this$createTime = getCreateTime();
        Date other$createTime = other.getCreateTime();
        return this$createTime != null ? this$createTime.equals(other$createTime) : other$createTime == null;
    }

    public int hashCode() {
        int i = 43;
        Long $id = getId();
        int hashCode = $id == null ? 43 : $id.hashCode();
        Integer $pm = getPm();
        int i2 = (hashCode + 59) * 59;
        int hashCode2 = $pm == null ? 43 : $pm.hashCode();
        String $title = getTitle();
        int i3 = (i2 + hashCode2) * 59;
        int hashCode3 = $title == null ? 43 : $title.hashCode();
        BigDecimal $number = getNumber();
        int i4 = (i3 + hashCode3) * 59;
        int hashCode4 = $number == null ? 43 : $number.hashCode();
        String $mark = getMark();
        int i5 = (i4 + hashCode4) * 59;
        int hashCode5 = $mark == null ? 43 : $mark.hashCode();
        Date $createTime = getCreateTime();
        int i6 = (i5 + hashCode5) * 59;
        if ($createTime != null) {
            i = $createTime.hashCode();
        }
        return i6 + i;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public void setCreateTime(Date createTime2) {
        this.createTime = createTime2;
    }

    public void setId(Long id2) {
        this.id = id2;
    }

    public void setMark(String mark2) {
        this.mark = mark2;
    }

    public void setNumber(BigDecimal number2) {
        this.number = number2;
    }

    public void setPm(Integer pm2) {
        this.pm = pm2;
    }

    public void setTitle(String title2) {
        this.title = title2;
    }

    public String toString() {
        return "UserBillQueryVo(id=" + getId() + ", pm=" + getPm() + ", title=" + getTitle() + ", number=" + getNumber() + ", mark=" + getMark() + ", createTime=" + getCreateTime() + ")";
    }

    public Long getId() {
        return this.id;
    }

    public Integer getPm() {
        return this.pm;
    }

    public String getTitle() {
        return this.title;
    }

    public BigDecimal getNumber() {
        return this.number;
    }

    public String getMark() {
        return this.mark;
    }

    public Date getCreateTime() {
        return this.createTime;
    }
}
